Signals a GPU fence. More...
#include <kanzi/gfx/commands.hpp>
Public Member Functions | |
| SignalGpuFenceCommand () | |
| Constructor. | |
Public Member Functions inherited from kanzi::gfx::BaseCommand | |
| uint32_t | getSize () const |
| Gets the command size in bytes. | |
| uint8_t | getTag () const |
| Gets the command tag. | |
| CommandType | getType () const |
| Gets the command type. | |
| void | setTag (uint8_t tag) |
| Sets the command tag. | |
Public Attributes | |
| GpuFenceHandleGuard | fence |
| The GPU fence to signal. | |
Additional Inherited Members | |
Protected Member Functions inherited from kanzi::gfx::BaseCommand | |
| BaseCommand (CommandType t, uint32_t s) | |
| Constructor. | |
| BaseCommand (const BaseCommand &other) | |
| Copy Constructor. | |
| BaseCommand & | operator= (const BaseCommand &other) |
| Assignment operator. | |
Signals a GPU fence.
Use the gfx::waitForGpuFence() function to synchronize GPU execution with the CPU.
|
inline |
Constructor.
| GpuFenceHandleGuard kanzi::gfx::SignalGpuFenceCommand::fence |
The GPU fence to signal.